home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-02-28 | 6.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 61 60 63 6c 61 73 73 20 |........|a`class |
|00000010| 44 52 61 74 4d 6f 64 69 | 66 69 65 72 20 65 78 74 |DRatModi|fier ext|
|00000020| 65 6e 64 73 20 44 50 6c | 61 79 65 72 4d 6f 64 69 |ends DPl|ayerModi|
|00000030| 66 69 65 72 3b 0d 0a 0d | 0a 76 61 72 20 69 6e 74 |fier;...|.var int|
|00000040| 20 53 63 61 6e 4c 69 6e | 65 4f 66 66 73 65 74 59 | ScanLin|eOffsetY|
|00000050| 2c 20 43 6f 75 6e 74 3b | 0d 0a 76 61 72 20 66 6c |, Count;|..var fl|
|00000060| 6f 61 74 20 4f 76 65 72 | 6c 61 79 41 6e 67 6c 65 |oat Over|layAngle|
|00000070| 2c 20 44 65 73 69 72 65 | 64 4f 76 65 72 6c 61 79 |, Desire|dOverlay|
|00000080| 41 6e 67 6c 65 3b 0d 0a | 76 61 72 20 63 6f 6c 6f |Angle;..|var colo|
|00000090| 72 20 44 65 73 69 72 65 | 64 4f 76 65 72 6c 61 79 |r Desire|dOverlay|
|000000a0| 43 6f 6c 6f 72 2c 20 4f | 76 65 72 6c 61 79 43 6f |Color, O|verlayCo|
|000000b0| 6c 6f 72 3b 0d 0a 76 61 | 72 20 62 6f 6f 6c 20 62 |lor;..va|r bool b|
|000000c0| 46 61 6c 6c 69 6e 67 3b | 0d 0a 0d 0a 76 61 72 20 |Falling;|....var |
|000000d0| 54 65 78 74 75 72 65 20 | 48 75 64 52 61 74 54 65 |Texture |HudRatTe|
|000000e0| 78 5b 38 5d 3b 0d 0a 76 | 61 72 20 69 6e 74 20 43 |x[8];..v|ar int C|
|000000f0| 75 72 48 75 64 52 61 74 | 3b 0d 0a 0d 0a 66 75 6e |urHudRat|;....fun|
|00000100| 63 74 69 6f 6e 20 49 6e | 69 74 4d 6f 64 69 66 69 |ction In|itModifi|
|00000110| 65 72 28 29 0d 0a 7b 0d | 0a 09 50 6c 61 79 65 72 |er()..{.|..Player|
|00000120| 2e 44 65 73 69 72 65 64 | 46 4f 56 20 3d 20 31 33 |.Desired|FOV = 13|
|00000130| 30 3b 0d 0a 09 53 75 70 | 65 72 2e 49 6e 69 74 4d |0;...Sup|er.InitM|
|00000140| 6f 64 69 66 69 65 72 28 | 29 3b 0d 0a 7d 0d 0a 0d |odifier(|);..}...|
|00000150| 0a 66 75 6e 63 74 69 6f | 6e 20 45 78 70 69 72 65 |.functio|n Expire|
|00000160| 64 28 29 0d 0a 7b 0d 0a | 09 50 6c 61 79 65 72 2e |d()..{..|.Player.|
|00000170| 44 65 73 69 72 65 64 46 | 4f 56 20 3d 20 39 30 3b |DesiredF|OV = 90;|
|00000180| 0d 0a 09 53 75 70 65 72 | 2e 45 78 70 69 72 65 64 |...Super|.Expired|
|00000190| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 73 69 6d 75 6c 61 |();..}..|..simula|
|000001a0| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 50 6f 73 |ted func|tion Pos|
|000001b0| 74 42 65 67 69 6e 50 6c | 61 79 28 29 0d 0a 7b 0d |tBeginPl|ay()..{.|
|000001c0| 0a 09 53 75 70 65 72 2e | 50 6f 73 74 42 65 67 69 |..Super.|PostBegi|
|000001d0| 6e 50 6c 61 79 28 29 3b | 0d 0a 0d 0a 09 66 6f 72 |nPlay();|.....for|
|000001e0| 20 28 43 75 72 48 75 64 | 52 61 74 20 3d 20 30 3b | (CurHud|Rat = 0;|
|000001f0| 20 43 75 72 48 75 64 52 | 61 74 20 3c 20 38 3b 20 | CurHudR|at < 8; |
|00000200| 43 75 72 48 75 64 52 61 | 74 2b 2b 29 0d 0a 09 09 |CurHudRa|t++)....|
|00000210| 48 75 64 52 61 74 54 65 | 78 5b 43 75 72 48 75 64 |HudRatTe|x[CurHud|
|00000220| 52 61 74 5d 20 3d 20 54 | 65 78 74 75 72 65 28 44 |Rat] = T|exture(D|
|00000230| 79 6e 61 6d 69 63 4c 6f | 61 64 4f 62 6a 65 63 74 |ynamicLo|adObject|
|00000240| 28 22 44 57 65 61 70 54 | 65 78 2e 72 61 74 58 72 |("DWeapT|ex.ratXr|
|00000250| 31 5f 30 22 24 43 75 72 | 48 75 64 52 61 74 2b 31 |1_0"$Cur|HudRat+1|
|00000260| 2c 20 63 6c 61 73 73 27 | 54 65 78 74 75 72 65 27 |, class'|Texture'|
|00000270| 29 29 3b 0d 0a 0d 0a 09 | 43 75 72 48 75 64 52 61 |));.....|CurHudRa|
|00000280| 74 20 3d 20 30 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |t = 0;..|}....fun|
|00000290| 63 74 69 6f 6e 20 52 65 | 6e 64 65 72 4d 6f 64 69 |ction Re|nderModi|
|000002a0| 66 69 65 72 28 20 43 61 | 6e 76 61 73 20 43 20 29 |fier( Ca|nvas C )|
|000002b0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |..{...lo|cal floa|
|000002c0| 74 20 44 69 73 74 3b 0d | 0a 09 6c 6f 63 61 6c 20 |t Dist;.|..local |
|000002d0| 50 61 77 6e 20 50 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Pawn P;.|..local |
|000002e0| 69 6e 74 20 58 50 6f 73 | 2c 20 59 50 6f 73 3b 0d |int XPos|, YPos;.|
|000002f0| 0a 09 6c 6f 63 61 6c 20 | 56 65 63 74 6f 72 20 58 |..local |Vector X|
|00000300| 2c 59 2c 5a 2c 20 44 69 | 72 3b 0d 0a 0d 0a 09 47 |,Y,Z, Di|r;.....G|
|00000310| 65 74 41 78 65 73 28 52 | 6f 74 61 74 69 6f 6e 2c |etAxes(R|otation,|
|00000320| 20 58 2c 59 2c 5a 29 3b | 0d 0a 09 43 2e 46 6f 6e | X,Y,Z);|...C.Fon|
|00000330| 74 20 3d 20 46 6f 6e 74 | 27 41 72 69 61 6c 4e 42 |t = Font|'ArialNB|
|00000340| 31 34 27 3b 0d 0a 09 43 | 2e 53 74 79 6c 65 20 3d |14';...C|.Style =|
|00000350| 20 45 52 65 6e 64 65 72 | 53 74 79 6c 65 2e 53 54 | ERender|Style.ST|
|00000360| 59 5f 41 6c 70 68 61 3b | 0d 0a 09 66 6f 72 65 61 |Y_Alpha;|...forea|
|00000370| 63 68 20 76 69 73 69 62 | 6c 65 63 6f 6c 6c 69 64 |ch visib|lecollid|
|00000380| 69 6e 67 61 63 74 6f 72 | 73 28 63 6c 61 73 73 27 |ingactor|s(class'|
|00000390| 50 61 77 6e 27 2c 20 50 | 2c 20 32 30 30 30 2c 2c |Pawn', P|, 2000,,|
|000003a0| 20 74 72 75 65 29 0d 0a | 09 7b 0d 0a 09 09 44 69 | true)..|.{....Di|
|000003b0| 72 20 3d 20 50 2e 4c 6f | 63 61 74 69 6f 6e 20 2d |r = P.Lo|cation -|
|000003c0| 20 4c 6f 63 61 74 69 6f | 6e 3b 0d 0a 09 09 44 69 | Locatio|n;....Di|
|000003d0| 73 74 20 3d 20 56 53 69 | 7a 65 28 44 69 72 29 3b |st = VSi|ze(Dir);|
|000003e0| 0d 0a 09 09 44 69 72 20 | 3d 20 44 69 72 2f 44 69 |....Dir |= Dir/Di|
|000003f0| 73 74 3b 0d 0a 09 09 69 | 66 20 28 20 28 44 69 72 |st;....i|f ( (Dir|
|00000400| 20 44 6f 74 20 58 29 20 | 3e 20 30 2e 37 20 29 0d | Dot X) |> 0.7 ).|
|00000410| 0a 09 09 7b 0d 0a 09 09 | 09 58 50 6f 73 20 3d 20 |...{....|.XPos = |
|00000420| 30 2e 35 20 2a 20 43 2e | 43 6c 69 70 58 20 2a 20 |0.5 * C.|ClipX * |
|00000430| 28 31 20 2b 20 31 2e 34 | 20 2a 20 28 44 69 72 20 |(1 + 1.4| * (Dir |
|00000440| 44 6f 74 20 59 29 29 3b | 0d 0a 09 09 09 59 50 6f |Dot Y));|.....YPo|
|00000450| 73 20 3d 20 30 2e 35 20 | 2a 20 43 2e 43 6c 69 70 |s = 0.5 |* C.Clip|
|00000460| 59 20 2a 20 28 31 20 2d | 20 31 2e 34 20 2a 20 28 |Y * (1 -| 1.4 * (|
|00000470| 44 69 72 20 44 6f 74 20 | 5a 29 29 3b 0d 0a 09 09 |Dir Dot |Z));....|
|00000480| 09 43 2e 53 65 74 50 6f | 73 28 58 50 6f 73 20 2d |.C.SetPo|s(XPos -|
|00000490| 20 38 2c 20 59 50 6f 73 | 20 2d 20 38 29 3b 0d 0a | 8, YPos| - 8);..|
|000004a0| 09 09 09 43 2e 44 72 61 | 77 49 63 6f 6e 28 74 65 |...C.Dra|wIcon(te|
|000004b0| 78 74 75 72 65 27 43 72 | 6f 73 73 48 72 30 38 27 |xture'Cr|ossHr08'|
|000004c0| 2c 20 31 2e 30 29 3b 0d | 0a 09 09 09 43 2e 53 65 |, 1.0);.|....C.Se|
|000004d0| 74 50 6f 73 28 58 70 6f | 73 20 2d 20 31 32 2c 20 |tPos(Xpo|s - 12, |
|000004e0| 59 50 6f 73 20 2b 20 38 | 29 3b 0d 0a 09 09 09 43 |YPos + 8|);.....C|
|000004f0| 2e 44 72 61 77 54 65 78 | 74 28 44 69 73 74 2c 20 |.DrawTex|t(Dist, |
|00000500| 74 72 75 65 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |true);..|..}...}.|
|00000510| 0a 0d 0a 09 44 72 61 77 | 53 63 6f 70 65 45 66 66 |....Draw|ScopeEff|
|00000520| 65 63 74 73 28 43 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |ects(C);|..}....f|
|00000530| 75 6e 63 74 69 6f 6e 20 | 44 72 61 77 53 63 6f 70 |unction |DrawScop|
|00000540| 65 45 66 66 65 63 74 73 | 28 43 61 6e 76 61 73 20 |eEffects|(Canvas |
|00000550| 43 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 76 65 |C)..{...|local ve|
|00000560| 63 74 6f 72 20 46 69 72 | 65 44 69 72 2c 20 45 6e |ctor Fir|eDir, En|
|00000570| 64 2c 20 48 69 74 4c 6f | 63 61 74 69 6f 6e 2c 20 |d, HitLo|cation, |
|00000580| 48 69 74 4e 6f 72 6d 61 | 6c 3b 0d 0a 09 6c 6f 63 |HitNorma|l;...loc|
|00000590| 61 6c 20 69 6e 74 20 43 | 75 72 58 2c 20 43 75 72 |al int C|urX, Cur|
|000005a0| 59 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |Y;...loc|al float|
|000005b0| 20 55 53 63 61 6c 65 2c | 20 56 53 63 61 6c 65 2c | UScale,| VScale,|
|000005c0| 20 53 63 61 6c 65 3b 0d | 0a 09 6c 6f 63 61 6c 20 | Scale;.|..local |
|000005d0| 54 65 78 74 75 72 65 20 | 43 75 72 72 65 6e 74 54 |Texture |CurrentT|
|000005e0| 65 78 2c 20 54 3b 0d 0a | 09 6c 6f 63 61 6c 20 50 |ex, T;..|.local P|
|000005f0| 61 77 6e 20 44 54 61 72 | 67 65 74 3b 0d 0a 09 6c |awn DTar|get;...l|
|00000600| 6f 63 61 6c 20 44 50 6c | 61 79 65 72 50 61 77 6e |ocal DPl|ayerPawn|
|00000610| 20 50 3b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 | P;...lo|cal floa|
|00000620| 74 20 44 69 73 74 61 6e | 63 65 2c 20 58 4c 2c 20 |t Distan|ce, XL, |
|00000630| 59 4c 3b 0d 0a 0d 0a 20 | 20 20 20 50 20 3d 20 44 |YL;.... | P = D|
|00000640| 50 6c 61 79 65 72 50 61 | 77 6e 28 4f 77 6e 65 72 |PlayerPa|wn(Owner|
|00000650| 29 3b 0d 0a 20 20 20 20 | 53 63 61 6c 65 20 3d 20 |);.. |Scale = |
|00000660| 43 2e 43 6c 69 70 58 20 | 2f 20 36 34 30 3b 0d 0a |C.ClipX |/ 640;..|
|00000670| 0d 0a 09 69 66 20 28 53 | 63 61 6e 6c 69 6e 65 4f |...if (S|canlineO|
|00000680| 66 66 73 65 74 59 20 3e | 3d 20 43 2e 43 6c 69 70 |ffsetY >|= C.Clip|
|00000690| 59 20 2d 20 54 65 78 74 | 75 72 65 27 55 54 41 53 |Y - Text|ure'UTAS|
|000006a0| 63 61 6e 4c 69 6e 31 27 | 2e 56 53 69 7a 65 29 0d |canLin1'|.VSize).|
|000006b0| 0a 09 09 53 63 61 6e 6c | 69 6e 65 4f 66 66 73 65 |...Scanl|ineOffse|
|000006c0| 74 59 20 3d 20 30 3b 0d | 0a 0d 0a 20 20 20 20 69 |tY = 0;.|... i|
|000006d0| 66 20 28 20 46 52 61 6e | 64 28 29 20 3e 20 30 2e |f ( FRan|d() > 0.|
|000006e0| 35 20 29 0d 0a 20 20 20 | 20 20 20 20 20 43 75 72 |5 ).. | Cur|
|000006f0| 72 65 6e 74 54 65 78 20 | 3d 20 54 65 78 74 75 72 |rentTex |= Textur|
|00000700| 65 27 55 54 41 53 63 61 | 6e 4c 69 6e 31 27 3b 0d |e'UTASca|nLin1';.|
|00000710| 0a 20 20 20 20 65 6c 73 | 65 20 43 75 72 72 65 6e |. els|e Curren|
|00000720| 74 54 65 78 20 3d 20 54 | 65 78 74 75 72 65 27 55 |tTex = T|exture'U|
|00000730| 54 41 53 63 61 6e 4c 69 | 6e 32 27 3b 0d 0a 0d 0a |TAScanLi|n2';....|
|00000740| 20 20 20 20 2f 2f 20 64 | 72 61 77 20 61 6c 6c 20 | // d|raw all |
|00000750| 72 65 73 6f 6c 75 74 69 | 6f 6e 73 20 61 73 20 69 |resoluti|ons as i|
|00000760| 66 20 61 74 20 31 30 32 | 34 78 37 36 38 2e 0d 0a |f at 102|4x768...|
|00000770| 20 20 20 20 55 53 63 61 | 6c 65 20 3d 20 43 2e 43 | USca|le = C.C|
|00000780| 6c 69 70 58 20 2f 20 31 | 30 32 34 3b 0d 0a 20 20 |lipX / 1|024;.. |
|00000790| 20 20 56 53 63 61 6c 65 | 20 3d 20 43 2e 43 6c 69 | VScale| = C.Cli|
|000007a0| 70 59 20 2f 20 37 36 38 | 3b 0d 0a 0d 0a 20 20 20 |pY / 768|;.... |
|000007b0| 20 43 2e 53 74 79 6c 65 | 20 3d 20 33 3b 0d 0a 20 | C.Style| = 3;.. |
|000007c0| 20 20 20 43 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 52 | C.Dra|wColor.R|
|000007d0| 20 3d 20 32 35 35 3b 0d | 0a 20 20 20 20 43 2e 44 | = 255;.|. C.D|
|000007e0| 72 61 77 43 6f 6c 6f 72 | 2e 47 20 3d 20 32 35 35 |rawColor|.G = 255|
|000007f0| 3b 0d 0a 20 20 20 20 43 | 2e 44 72 61 77 43 6f 6c |;.. C|.DrawCol|
|00000800| 6f 72 2e 42 20 3d 20 32 | 35 35 3b 0d 0a 0d 0a 20 |or.B = 2|55;.... |
|00000810| 20 20 20 66 6f 72 28 20 | 43 75 72 59 20 3d 20 53 | for( |CurY = S|
|00000820| 63 61 6e 6c 69 6e 65 4f | 66 66 73 65 74 59 3b 20 |canlineO|ffsetY; |
|00000830| 43 75 72 59 20 3c 20 43 | 2e 43 6c 69 70 59 3b 20 |CurY < C|.ClipY; |
|00000840| 43 75 72 59 20 2b 3d 20 | 43 75 72 72 65 6e 74 54 |CurY += |CurrentT|
|00000850| 65 78 2e 56 53 69 7a 65 | 20 2a 20 56 53 63 61 6c |ex.VSize| * VScal|
|00000860| 65 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |e ).. | {.. |
|00000870| 20 20 20 20 66 6f 72 20 | 28 20 43 75 72 58 20 3d | for |( CurX =|
|00000880| 20 30 3b 20 43 75 72 58 | 20 3c 20 43 2e 43 6c 69 | 0; CurX| < C.Cli|
|00000890| 70 58 3b 20 43 75 72 58 | 20 2b 3d 20 43 75 72 72 |pX; CurX| += Curr|
|000008a0| 65 6e 74 54 65 78 2e 55 | 53 69 7a 65 20 2a 20 55 |entTex.U|Size * U|
|000008b0| 53 63 61 6c 65 20 29 0d | 0a 20 20 20 20 20 20 20 |Scale ).|. |
|000008c0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000008d0| 43 2e 43 75 72 58 20 3d | 20 43 75 72 58 3b 0d 0a |C.CurX =| CurX;..|
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 43 2e 43 75 | | C.Cu|
|000008f0| 72 59 20 3d 20 43 75 72 | 59 3b 0d 0a 0d 0a 20 20 |rY = Cur|Y;.... |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 43 2e 44 72 61 77 | | C.Draw|
|00000910| 54 69 6c 65 28 20 43 75 | 72 72 65 6e 74 54 65 78 |Tile( Cu|rrentTex|
|00000920| 2c 20 43 75 72 72 65 6e | 74 54 65 78 2e 55 53 69 |, Curren|tTex.USi|
|00000930| 7a 65 20 2a 20 55 53 63 | 61 6c 65 2c 20 43 75 72 |ze * USc|ale, Cur|
|00000940| 72 65 6e 74 54 65 78 2e | 56 53 69 7a 65 20 2a 20 |rentTex.|VSize * |
|00000950| 56 53 63 61 6c 65 2c 20 | 30 2c 20 30 2c 20 43 75 |VScale, |0, 0, Cu|
|00000960| 72 72 65 6e 74 54 65 78 | 2e 55 53 69 7a 65 2c 20 |rrentTex|.USize, |
|00000970| 43 75 72 72 65 6e 74 54 | 65 78 2e 56 53 69 7a 65 |CurrentT|ex.VSize|
|00000980| 20 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 7d 0d 0a | );.. | }..|
|00000990| 0d 0a 20 20 20 20 20 20 | 20 20 69 66 20 28 20 43 |.. | if ( C|
|000009a0| 75 72 72 65 6e 74 54 65 | 78 20 3d 3d 20 54 65 78 |urrentTe|x == Tex|
|000009b0| 74 75 72 65 27 55 54 41 | 53 63 61 6e 4c 69 6e 31 |ture'UTA|ScanLin1|
|000009c0| 27 20 29 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |' ).. | |
|000009d0| 20 43 75 72 72 65 6e 74 | 54 65 78 20 3d 20 54 65 | Current|Tex = Te|
|000009e0| 78 74 75 72 65 27 55 54 | 41 53 63 61 6e 4c 69 6e |xture'UT|AScanLin|
|000009f0| 32 27 3b 0d 0a 20 20 20 | 20 20 20 20 20 65 6c 73 |2';.. | els|
|00000a00| 65 20 69 66 20 28 20 46 | 52 61 6e 64 28 29 20 3e |e if ( F|Rand() >|
|00000a10| 20 30 2e 32 20 29 0d 0a | 20 20 20 20 20 20 20 20 | 0.2 )..| |
|00000a20| 20 20 20 20 43 75 72 72 | 65 6e 74 54 65 78 20 3d | Curr|entTex =|
|00000a30| 20 54 65 78 74 75 72 65 | 27 55 54 41 53 63 61 6e | Texture|'UTAScan|
|00000a40| 4c 69 6e 31 27 3b 0d 0a | 20 20 20 20 7d 0d 0a 20 |Lin1';..| }.. |
|00000a50| 20 20 20 2f 2f 20 77 69 | 65 72 64 20 68 75 64 66 | // wi|erd hudf|
|00000a60| 78 20 6f 76 65 72 6c 61 | 79 20 74 68 69 6e 67 79 |x overla|y thingy|
|00000a70| 0d 0a 20 20 20 20 43 2e | 53 74 79 6c 65 20 3d 20 |.. C.|Style = |
|00000a80| 45 52 65 6e 64 65 72 53 | 74 79 6c 65 2e 53 54 59 |ERenderS|tyle.STY|
|00000a90| 5f 54 72 61 6e 73 6c 75 | 63 65 6e 74 3b 0d 0a 20 |_Translu|cent;.. |
|00000aa0| 20 20 20 43 2e 44 72 61 | 77 43 6f 6c 6f 72 20 3d | C.Dra|wColor =|
|00000ab0| 20 63 6c 61 73 73 27 43 | 61 6e 76 61 73 27 2e 73 | class'C|anvas'.s|
|00000ac0| 74 61 74 69 63 2e 47 65 | 74 43 6f 6c 6f 72 28 20 |tatic.Ge|tColor( |
|00000ad0| 36 34 2c 20 36 34 2c 20 | 31 32 38 20 29 3b 0d 0a |64, 64, |128 );..|
|00000ae0| 20 20 20 09 43 2e 53 65 | 74 50 6f 73 28 20 30 2c | .C.Se|tPos( 0,|
|00000af0| 20 30 20 29 3b 0d 0a 09 | 54 20 3d 20 74 65 78 74 | 0 );...|T = text|
|00000b00| 75 72 65 27 44 57 65 61 | 70 54 65 78 2e 52 61 74 |ure'DWea|pTex.Rat|
|00000b10| 2e 72 61 74 46 58 31 27 | 3b 0d 0a 09 2f 2f 43 2e |.ratFX1'|;...//C.|
|00000b20| 44 72 61 77 54 69 6c 65 | 28 20 54 2c 20 43 2e 43 |DrawTile|( T, C.C|
|00000b30| 6c 69 70 58 2c 20 43 2e | 43 6c 69 70 59 2c 20 30 |lipX, C.|ClipY, 0|
|00000b40| 2c 20 30 2c 20 54 2e 55 | 53 69 7a 65 2c 20 54 2e |, 0, T.U|Size, T.|
|00000b50| 56 53 69 7a 65 20 29 3b | 0d 0a 20 20 20 20 69 66 |VSize );|.. if|
|00000b60| 20 28 20 4f 76 65 72 6c | 61 79 41 6e 67 6c 65 20 | ( Overl|ayAngle |
|00000b70| 3c 20 61 62 73 28 44 65 | 73 69 72 65 64 4f 76 65 |< abs(De|siredOve|
|00000b80| 72 6c 61 79 41 6e 67 6c | 65 2d 4f 76 65 72 6c 61 |rlayAngl|e-Overla|
|00000b90| 79 41 6e 67 6c 65 29 20 | 29 0d 0a 20 20 20 20 20 |yAngle) |).. |
|00000ba0| 20 20 20 44 65 73 69 72 | 65 64 4f 76 65 72 6c 61 | Desir|edOverla|
|00000bb0| 79 41 6e 67 6c 65 20 3d | 20 66 72 61 6e 64 28 29 |yAngle =| frand()|
|00000bc0| 20 2a 20 33 36 30 2e 30 | 3b 0d 0a 20 20 20 20 65 | * 360.0|;.. e|
|00000bd0| 6c 73 65 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |lse.. | {.. |
|00000be0| 20 20 20 20 69 66 20 28 | 20 4f 76 65 72 6c 61 79 | if (| Overlay|
|00000bf0| 41 6e 67 6c 65 20 3c 20 | 44 65 73 69 72 65 64 4f |Angle < |DesiredO|
|00000c00| 76 65 72 6c 61 79 41 6e | 67 6c 65 20 29 0d 0a 20 |verlayAn|gle ).. |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 4f 76 65 72 6c | | Overl|
|00000c20| 61 79 41 6e 67 6c 65 20 | 2b 3d 20 31 3b 0d 0a 20 |ayAngle |+= 1;.. |
|00000c30| 20 20 20 20 20 20 20 65 | 6c 73 65 20 4f 76 65 72 | e|lse Over|
|00000c40| 6c 61 79 41 6e 67 6c 65 | 20 2b 3d 20 2d 31 3b 0d |layAngle| += -1;.|
|00000c50| 0a 20 20 20 20 7d 0d 0a | 20 20 20 20 43 2e 44 72 |. }..| C.Dr|
|00000c60| 61 77 52 6f 74 61 74 65 | 64 54 69 6c 65 28 20 54 |awRotate|dTile( T|
|00000c70| 2c 20 43 2e 43 6c 69 70 | 58 2c 20 43 2e 43 6c 69 |, C.Clip|X, C.Cli|
|00000c80| 70 59 2c 20 30 2c 20 30 | 2c 20 54 2e 55 53 69 7a |pY, 0, 0|, T.USiz|
|00000c90| 65 2c 20 54 2e 56 53 69 | 7a 65 2c 20 4f 76 65 72 |e, T.VSi|ze, Over|
|00000ca0| 6c 61 79 41 6e 67 6c 65 | 2c 20 30 2c 20 30 20 29 |layAngle|, 0, 0 )|
|00000cb0| 3b 0d 0a 0d 0a 09 43 2e | 44 72 61 77 43 6f 6c 6f |;.....C.|DrawColo|
|00000cc0| 72 20 3d 20 63 6c 61 73 | 73 27 43 61 6e 76 61 73 |r = clas|s'Canvas|
|00000cd0| 27 2e 73 74 61 74 69 63 | 2e 47 65 74 43 6f 6c 6f |'.static|.GetColo|
|00000ce0| 72 28 20 32 35 35 2c 20 | 32 35 35 2c 20 32 35 35 |r( 255, |255, 255|
|00000cf0| 20 29 3b 0d 0a 20 20 20 | 20 43 2e 53 74 79 6c 65 | );.. | C.Style|
|00000d00| 20 3d 20 45 52 65 6e 64 | 65 72 53 74 79 6c 65 2e | = ERend|erStyle.|
|00000d10| 53 54 59 5f 4d 6f 64 75 | 6c 61 74 65 64 3b 0d 0a |STY_Modu|lated;..|
|00000d20| 20 20 20 20 43 2e 53 65 | 74 50 6f 73 28 30 2c 2d | C.Se|tPos(0,-|
|00000d30| 38 30 20 2a 20 53 63 61 | 6c 65 29 3b 0d 0a 20 20 |80 * Sca|le);.. |
|00000d40| 20 20 43 2e 44 72 61 77 | 49 63 6f 6e 28 54 65 78 | C.Draw|Icon(Tex|
|00000d50| 74 75 72 65 27 44 57 65 | 61 70 54 65 78 2e 73 6e |ture'DWe|apTex.sn|
|00000d60| 69 70 65 62 6c 30 31 27 | 2c 53 63 61 6c 65 20 2a |ipebl01'|,Scale *|
|00000d70| 20 32 2e 35 29 3b 0d 0a | 0d 0a 20 20 20 20 46 69 | 2.5);..|.. Fi|
|00000d80| 72 65 44 69 72 20 3d 20 | 50 2e 4c 6f 63 61 74 69 |reDir = |P.Locati|
|00000d90| 6f 6e 3b 0d 0a 20 20 20 | 20 46 69 72 65 44 69 72 |on;.. | FireDir|
|00000da0| 2e 5a 20 2b 3d 20 50 2e | 42 61 73 65 45 79 65 48 |.Z += P.|BaseEyeH|
|00000db0| 65 69 67 68 74 3b 0d 0a | 20 20 20 20 45 6e 64 20 |eight;..| End |
|00000dc0| 20 20 20 20 3d 20 46 69 | 72 65 44 69 72 20 2b 20 | = Fi|reDir + |
|00000dd0| 76 65 63 74 6f 72 28 50 | 2e 56 69 65 77 52 6f 74 |vector(P|.ViewRot|
|00000de0| 61 74 69 6f 6e 29 20 2a | 20 31 30 30 30 2e 30 3b |ation) *| 1000.0;|
|00000df0| 0d 0a 20 20 20 20 44 54 | 61 72 67 65 74 20 3d 20 |.. DT|arget = |
|00000e00| 50 61 77 6e 28 54 72 61 | 63 65 28 48 69 74 4c 6f |Pawn(Tra|ce(HitLo|
|00000e10| 63 61 74 69 6f 6e 2c 48 | 69 74 4e 6f 72 6d 61 6c |cation,H|itNormal|
|00000e20| 2c 45 6e 64 2c 46 69 72 | 65 44 69 72 2c 54 72 75 |,End,Fir|eDir,Tru|
|00000e30| 65 29 29 3b 0d 0a 0d 0a | 20 20 20 20 43 2e 46 6f |e));....| C.Fo|
|00000e40| 6e 74 20 3d 20 46 6f 6e | 74 27 44 46 6f 6e 74 73 |nt = Fon|t'DFonts|
|00000e50| 2e 41 72 69 61 6c 4e 42 | 31 30 27 3b 0d 0a 0d 0a |.ArialNB|10';....|
|00000e60| 09 43 2e 53 74 79 6c 65 | 20 3d 20 45 52 65 6e 64 |.C.Style| = ERend|
|00000e70| 65 72 53 74 79 6c 65 2e | 53 54 59 5f 54 72 61 6e |erStyle.|STY_Tran|
|00000e80| 73 6c 75 63 65 6e 74 3b | 0d 0a 0d 0a 20 20 20 20 |slucent;|.... |
|00000e90| 43 2e 44 72 61 77 43 6f | 6c 6f 72 20 3d 20 63 6c |C.DrawCo|lor = cl|
|00000ea0| 61 73 73 27 43 61 6e 76 | 61 73 27 2e 73 74 61 74 |ass'Canv|as'.stat|
|00000eb0| 69 63 2e 47 65 74 43 6f | 6c 6f 72 28 20 31 32 38 |ic.GetCo|lor( 128|
|00000ec0| 2c 20 31 32 38 2c 20 31 | 32 38 20 29 3b 0d 0a 20 |, 128, 1|28 );.. |
|00000ed0| 20 20 20 54 20 3d 20 48 | 75 64 52 61 74 54 65 78 | T = H|udRatTex|
|00000ee0| 5b 43 75 72 48 75 64 52 | 61 74 5d 3b 0d 0a 20 20 |[CurHudR|at];.. |
|00000ef0| 20 20 43 2e 53 65 74 50 | 6f 73 28 28 2d 36 34 2b | C.SetP|os((-64+|
|00000f00| 37 35 29 2a 55 53 63 61 | 6c 65 2c 20 28 28 37 36 |75)*USca|le, ((76|
|00000f10| 38 20 2d 20 54 2e 56 53 | 69 7a 65 29 2f 32 29 2a |8 - T.VS|ize)/2)*|
|00000f20| 56 53 63 61 6c 65 20 29 | 3b 0d 0a 20 20 20 20 43 |VScale )|;.. C|
|00000f30| 2e 44 72 61 77 54 69 6c | 65 28 54 65 78 74 75 72 |.DrawTil|e(Textur|
|00000f40| 65 27 44 57 65 61 70 54 | 65 78 2e 72 61 74 43 69 |e'DWeapT|ex.ratCi|
|00000f50| 72 63 6c 65 27 2c 20 54 | 65 78 74 75 72 65 27 44 |rcle', T|exture'D|
|00000f60| 57 65 61 70 54 65 78 2e | 72 61 74 43 69 72 63 6c |WeapTex.|ratCircl|
|00000f70| 65 27 2e 55 53 69 7a 65 | 2a 55 53 63 61 6c 65 2c |e'.USize|*UScale,|
|00000f80| 20 54 65 78 74 75 72 65 | 27 44 57 65 61 70 54 65 | Texture|'DWeapTe|
|00000f90| 78 2e 72 61 74 43 69 72 | 63 6c 65 27 2e 56 53 69 |x.ratCir|cle'.VSi|
|00000fa0| 7a 65 2a 56 53 63 61 6c | 65 2c 20 30 2c 30 2c 54 |ze*VScal|e, 0,0,T|
|00000fb0| 65 78 74 75 72 65 27 44 | 57 65 61 70 54 65 78 2e |exture'D|WeapTex.|
|00000fc0| 72 61 74 43 69 72 63 6c | 65 27 2e 55 53 69 7a 65 |ratCircl|e'.USize|
|00000fd0| 2c 54 65 78 74 75 72 65 | 27 44 57 65 61 70 54 65 |,Texture|'DWeapTe|
|00000fe0| 78 2e 72 61 74 43 69 72 | 63 6c 65 27 2e 56 53 69 |x.ratCir|cle'.VSi|
|00000ff0| 7a 65 29 3b 0d 0a 09 43 | 2e 53 65 74 50 6f 73 28 |ze);...C|.SetPos(|
|00001000| 20 28 30 2b 37 35 29 2a | 55 53 63 61 6c 65 2c 20 | (0+75)*|UScale, |
|00001010| 28 28 37 36 38 20 2d 20 | 54 2e 56 53 69 7a 65 29 |((768 - |T.VSize)|
|00001020| 2f 32 29 2a 56 53 63 61 | 6c 65 20 29 3b 0d 0a 0d |/2)*VSca|le );...|
|00001030| 0a 09 43 2e 44 72 61 77 | 54 69 6c 65 28 54 2c 20 |..C.Draw|Tile(T, |
|00001040| 54 2e 55 53 69 7a 65 2a | 55 53 63 61 6c 65 2c 20 |T.USize*|UScale, |
|00001050| 54 2e 56 53 69 7a 65 2a | 56 53 63 61 6c 65 2c 20 |T.VSize*|VScale, |
|00001060| 30 2c 30 2c 54 2e 55 53 | 69 7a 65 2c 54 2e 56 53 |0,0,T.US|ize,T.VS|
|00001070| 69 7a 65 29 3b 0d 0a 0d | 0a 0d 0a 09 2f 2f 69 66 |ize);...|....//if|
|00001080| 20 28 61 46 6f 72 77 61 | 72 64 20 21 3d 20 30 29 | (aForwa|rd != 0)|
|00001090| 0d 0a 09 2f 2f 09 53 63 | 61 6e 4c 69 6e 65 4f 66 |...//.Sc|anLineOf|
|000010a0| 66 73 65 74 59 20 3d 20 | 28 53 63 61 6e 4c 69 6e |fsetY = |(ScanLin|
|000010b0| 65 4f 66 66 73 65 74 59 | 20 2b 20 31 36 20 29 20 |eOffsetY| + 16 ) |
|000010c0| 26 20 32 35 35 3b 0d 0a | 0d 0a 20 20 20 20 43 2e |& 255;..|.. C.|
|000010d0| 53 74 79 6c 65 20 3d 20 | 45 52 65 6e 64 65 72 53 |Style = |ERenderS|
|000010e0| 74 79 6c 65 2e 53 54 59 | 5f 41 6c 70 68 61 3b 0d |tyle.STY|_Alpha;.|
|000010f0| 0a 20 20 20 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |. C.D|rawColor|
|00001100| 20 3d 20 63 6c 61 73 73 | 27 43 61 6e 76 61 73 27 | = class|'Canvas'|
|00001110| 2e 73 74 61 74 69 63 2e | 47 65 74 43 6f 6c 6f 72 |.static.|GetColor|
|00001120| 28 20 31 32 38 2c 20 31 | 32 38 2c 20 31 32 38 2c |( 128, 1|28, 128,|
|00001130| 20 31 37 35 20 29 3b 0d | 0a 0d 0a 09 54 20 3d 20 | 175 );.|....T = |
|00001140| 74 65 78 74 75 72 65 27 | 44 57 65 61 70 54 65 78 |texture'|DWeapTex|
|00001150| 2e 52 61 74 2e 52 61 74 | 4c 45 44 30 31 27 3b 0d |.Rat.Rat|LED01';.|
|00001160| 0a 20 20 20 09 43 2e 53 | 65 74 50 6f 73 28 20 28 |. .C.S|etPos( (|
|00001170| 31 38 31 29 2a 55 53 63 | 61 6c 65 2c 20 32 33 30 |181)*USc|ale, 230|
|00001180| 2a 56 53 63 61 6c 65 20 | 29 3b 0d 0a 09 43 2e 44 |*VScale |);...C.D|
|00001190| 72 61 77 54 69 6c 65 28 | 20 54 2c 20 54 2e 55 53 |rawTile(| T, T.US|
|000011a0| 69 7a 65 2a 55 53 63 61 | 6c 65 2c 20 33 32 34 2a |ize*USca|le, 324*|
|000011b0| 56 53 63 61 6c 65 2c 20 | 30 2c 20 53 63 61 6e 4c |VScale, |0, ScanL|
|000011c0| 69 6e 65 4f 66 66 73 65 | 74 59 2c 20 54 2e 55 53 |ineOffse|tY, T.US|
|000011d0| 69 7a 65 2c 20 33 32 34 | 2a 56 53 63 61 6c 65 20 |ize, 324|*VScale |
|000011e0| 29 3b 0d 0a 0d 0a 09 54 | 20 3d 20 74 65 78 74 75 |);.....T| = textu|
|000011f0| 72 65 27 44 57 65 61 70 | 54 65 78 2e 52 61 74 2e |re'DWeap|Tex.Rat.|
|00001200| 52 61 74 4c 45 44 30 32 | 27 3b 0d 0a 09 43 2e 53 |RatLED02|';...C.S|
|00001210| 65 74 50 6f 73 28 20 28 | 43 2e 43 6c 69 70 58 20 |etPos( (|C.ClipX |
|00001220| 2d 20 54 2e 55 53 69 7a | 65 2a 33 20 29 2c 20 36 |- T.USiz|e*3 ), 6|
|00001230| 34 2a 56 53 63 61 6c 65 | 20 29 3b 0d 0a 09 43 2e |4*VScale| );...C.|
|00001240| 44 72 61 77 54 69 6c 65 | 28 20 54 2c 20 54 2e 55 |DrawTile|( T, T.U|
|00001250| 53 69 7a 65 2c 20 43 2e | 43 6c 69 70 59 2d 20 31 |Size, C.|ClipY- 1|
|00001260| 32 38 2a 56 53 63 61 6c | 65 2c 20 30 2c 20 53 63 |28*VScal|e, 0, Sc|
|00001270| 61 6e 4c 69 6e 65 4f 66 | 66 73 65 74 59 2c 20 54 |anLineOf|fsetY, T|
|00001280| 2e 55 53 69 7a 65 2c 20 | 43 2e 43 6c 69 70 59 2d |.USize, |C.ClipY-|
|00001290| 20 31 32 38 2a 56 53 63 | 61 6c 65 20 29 3b 0d 0a | 128*VSc|ale );..|
|000012a0| 0d 0a 09 54 20 3d 20 74 | 65 78 74 75 72 65 27 44 |...T = t|exture'D|
|000012b0| 57 65 61 70 54 65 78 2e | 52 61 74 2e 52 61 74 4c |WeapTex.|Rat.RatL|
|000012c0| 45 44 30 33 27 3b 0d 0a | 20 20 20 09 43 2e 53 65 |ED03';..| .C.Se|
|000012d0| 74 50 6f 73 28 20 28 43 | 2e 43 6c 69 70 58 20 2d |tPos( (C|.ClipX -|
|000012e0| 20 54 2e 55 53 69 7a 65 | 2a 32 20 29 2c 20 36 34 | T.USize|*2 ), 64|
|000012f0| 2a 56 53 63 61 6c 65 20 | 29 3b 0d 0a 09 43 2e 44 |*VScale |);...C.D|
|00001300| 72 61 77 54 69 6c 65 28 | 20 54 2c 20 54 2e 55 53 |rawTile(| T, T.US|
|00001310| 69 7a 65 2c 20 43 2e 43 | 6c 69 70 59 2d 20 31 32 |ize, C.C|lipY- 12|
|00001320| 38 2a 56 53 63 61 6c 65 | 2c 20 30 2c 20 2d 53 63 |8*VScale|, 0, -Sc|
|00001330| 61 6e 4c 69 6e 65 4f 66 | 66 73 65 74 59 2c 20 54 |anLineOf|fsetY, T|
|00001340| 2e 55 53 69 7a 65 2c 20 | 43 2e 43 6c 69 70 59 2d |.USize, |C.ClipY-|
|00001350| 20 31 32 38 2a 56 53 63 | 61 6c 65 20 29 3b 0d 0a | 128*VSc|ale );..|
|00001360| 0d 0a 09 54 20 3d 20 74 | 65 78 74 75 72 65 27 44 |...T = t|exture'D|
|00001370| 57 65 61 70 54 65 78 2e | 52 61 74 2e 52 61 74 4c |WeapTex.|Rat.RatL|
|00001380| 45 44 30 34 27 3b 0d 0a | 20 20 20 09 43 2e 53 65 |ED04';..| .C.Se|
|00001390| 74 50 6f 73 28 20 28 43 | 2e 43 6c 69 70 58 20 2d |tPos( (C|.ClipX -|
|000013a0| 20 54 2e 55 53 69 7a 65 | 2a 31 20 29 2c 20 36 34 | T.USize|*1 ), 64|
|000013b0| 2a 56 53 63 61 6c 65 20 | 29 3b 0d 0a 09 43 2e 44 |*VScale |);...C.D|
|000013c0| 72 61 77 54 69 6c 65 28 | 20 54 2c 20 54 2e 55 53 |rawTile(| T, T.US|
|000013d0| 69 7a 65 2c 20 43 2e 43 | 6c 69 70 59 2d 20 31 32 |ize, C.C|lipY- 12|
|000013e0| 38 2a 56 53 63 61 6c 65 | 2c 20 30 2c 20 53 63 61 |8*VScale|, 0, Sca|
|000013f0| 6e 4c 69 6e 65 4f 66 66 | 73 65 74 59 2c 20 54 2e |nLineOff|setY, T.|
|00001400| 55 53 69 7a 65 2c 20 43 | 2e 43 6c 69 70 59 20 2d |USize, C|.ClipY -|
|00001410| 20 31 32 38 2a 56 53 63 | 61 6c 65 20 29 3b 0d 0a | 128*VSc|ale );..|
|00001420| 0d 0a 20 20 20 20 54 20 | 3d 20 54 65 78 74 75 72 |.. T |= Textur|
|00001430| 65 27 44 57 65 61 70 54 | 65 78 2e 72 61 74 62 6c |e'DWeapT|ex.ratbl|
|00001440| 75 72 62 27 3b 0d 0a 20 | 20 20 20 43 2e 44 72 61 |urb';.. | C.Dra|
|00001450| 77 43 6f 6c 6f 72 20 3d | 20 63 6c 61 73 73 27 43 |wColor =| class'C|
|00001460| 61 6e 76 61 73 27 2e 73 | 74 61 74 69 63 2e 47 65 |anvas'.s|tatic.Ge|
|00001470| 74 43 6f 6c 6f 72 28 20 | 32 30 35 2c 20 32 30 35 |tColor( |205, 205|
|00001480| 2c 20 32 30 35 20 29 3b | 0d 0a 20 20 20 20 43 2e |, 205 );|.. C.|
|00001490| 53 65 74 50 6f 73 28 20 | 28 43 2e 43 6c 69 70 58 |SetPos( |(C.ClipX|
|000014a0| 20 2d 20 54 2e 55 53 69 | 7a 65 20 29 20 2d 20 28 | - T.USi|ze ) - (|
|000014b0| 20 54 2e 55 53 69 7a 65 | 20 2f 20 32 20 29 2b 32 | T.USize| / 2 )+2|
|000014c0| 35 2c 20 31 35 20 29 3b | 0d 0a 20 20 20 20 43 2e |5, 15 );|.. C.|
|000014d0| 44 72 61 77 49 63 6f 6e | 28 20 54 2c 20 31 2e 30 |DrawIcon|( T, 1.0|
|000014e0| 20 29 3b 0d 0a 0d 0a 20 | 20 20 20 2f 2f 43 2e 53 | );.... | //C.S|
|000014f0| 65 74 50 6f 73 28 20 28 | 20 55 53 63 61 6c 65 20 |etPos( (| UScale |
|00001500| 2f 20 32 20 29 2c 20 28 | 20 43 2e 43 6c 69 70 59 |/ 2 ), (| C.ClipY|
|00001510| 20 2d 20 56 53 63 61 6c | 65 20 29 20 2d 20 28 20 | - VScal|e ) - ( |
|00001520| 56 53 63 61 6c 65 20 2f | 20 32 20 29 20 29 3b 0d |VScale /| 2 ) );.|
|00001530| 0a 09 2f 2f 43 2e 44 72 | 61 77 54 69 6c 65 28 20 |..//C.Dr|awTile( |
|00001540| 54 2c 20 55 53 63 61 6c | 65 2c 20 56 53 63 61 6c |T, UScal|e, VScal|
|00001550| 65 2c 20 30 2c 20 53 63 | 61 6e 4c 69 6e 65 4f 66 |e, 0, Sc|anLineOf|
|00001560| 66 73 65 74 59 2c 20 55 | 53 63 61 6c 65 2c 20 56 |fsetY, U|Scale, V|
|00001570| 53 63 61 6c 65 20 29 3b | 0d 0a 0d 0a 09 43 2e 53 |Scale );|.....C.S|
|00001580| 74 79 6c 65 20 3d 20 45 | 52 65 6e 64 65 72 53 74 |tyle = E|RenderSt|
|00001590| 79 6c 65 2e 53 54 59 5f | 4e 6f 72 6d 61 6c 3b 0d |yle.STY_|Normal;.|
|000015a0| 0a 0d 0a 2f 2f 09 43 2e | 51 75 69 63 6b 44 72 61 |...//.C.|QuickDra|
|000015b0| 77 54 65 78 74 28 20 31 | 35 30 2c 20 31 35 30 2c |wText( 1|50, 150,|
|000015c0| 20 44 65 73 63 72 69 62 | 65 50 68 79 73 69 63 73 | Describ|ePhysics|
|000015d0| 28 29 2c 20 46 6f 6e 74 | 27 44 46 6f 6e 74 73 2e |(), Font|'DFonts.|
|000015e0| 4f 63 72 61 32 30 27 2c | 20 43 2e 47 65 74 43 6f |Ocra20',| C.GetCo|
|000015f0| 6c 6f 72 28 20 31 35 30 | 2c 20 35 30 2c 20 31 32 |lor( 150|, 50, 12|
|00001600| 38 20 29 20 29 3b 0d 0a | 0d 0a 0d 0a 0d 0a 09 72 |8 ) );..|.......r|
|00001610| 65 74 75 72 6e 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |eturn;..|...if ( |
|00001620| 28 44 54 61 72 67 65 74 | 20 21 3d 20 6e 6f 6e 65 |(DTarget| != none|
|00001630| 29 20 26 26 20 28 21 44 | 54 61 72 67 65 74 2e 62 |) && (!D|Target.b|
|00001640| 48 69 64 64 65 6e 29 20 | 29 0d 0a 09 7b 0d 0a 09 |Hidden) |)...{...|
|00001650| 09 44 69 73 74 61 6e 63 | 65 20 3d 20 76 53 69 7a |.Distanc|e = vSiz|
|00001660| 65 28 48 69 74 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |e(HitLoc|ation - |
|00001670| 4c 6f 63 61 74 69 6f 6e | 29 3b 0d 0a 09 09 43 2e |Location|);....C.|
|00001680| 53 74 72 4c 65 6e 28 6c | 65 6e 28 6c 65 66 74 28 |StrLen(l|en(left(|
|00001690| 61 62 73 28 44 69 73 74 | 61 6e 63 65 20 2f 20 35 |abs(Dist|ance / 5|
|000016a0| 36 29 2c 49 6e 53 74 72 | 28 44 69 73 74 61 6e 63 |6),InStr|(Distanc|
|000016b0| 65 2c 22 2e 22 29 20 2b | 20 32 29 24 22 6d 22 29 |e,".") +| 2)$"m")|
|000016c0| 2c 58 4c 2c 59 4c 29 3b | 0d 0a 09 09 43 2e 53 65 |,XL,YL);|....C.Se|
|000016d0| 74 50 6f 73 28 30 2e 35 | 20 2a 20 43 2e 43 6c 69 |tPos(0.5| * C.Cli|
|000016e0| 70 58 20 2d 20 28 37 32 | 20 2b 20 58 4c 29 20 20 |pX - (72| + XL) |
|000016f0| 2a 20 53 63 61 6c 65 2c | 30 2e 35 20 2a 20 43 2e |* Scale,|0.5 * C.|
|00001700| 43 6c 69 70 59 20 2d 20 | 28 39 36 20 2b 20 59 4c |ClipY - |(96 + YL|
|00001710| 29 20 2a 20 53 63 61 6c | 65 29 3b 0d 0a 09 09 43 |) * Scal|e);....C|
|00001720| 2e 44 72 61 77 54 65 78 | 74 28 22 44 69 73 74 3a |.DrawTex|t("Dist:|
|00001730| 22 40 4c 65 66 74 28 61 | 62 73 28 44 69 73 74 61 |"@Left(a|bs(Dista|
|00001740| 6e 63 65 20 2f 20 34 38 | 29 2c 49 6e 53 74 72 28 |nce / 48|),InStr(|
|00001750| 44 69 73 74 61 6e 63 65 | 2c 22 2e 22 29 20 2b 20 |Distance|,".") + |
|00001760| 32 29 24 22 6d 22 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |2)$"m");|...}....|
|00001770| 20 20 20 20 43 2e 53 65 | 74 50 6f 73 28 30 2e 35 | C.Se|tPos(0.5|
|00001780| 20 2a 20 43 2e 43 6c 69 | 70 58 20 2b 20 36 34 20 | * C.Cli|pX + 64 |
|00001790| 2a 20 53 63 61 6c 65 2c | 30 2e 35 20 2a 20 43 2e |* Scale,|0.5 * C.|
|000017a0| 43 6c 69 70 59 20 2b 20 | 39 36 20 2a 20 53 63 61 |ClipY + |96 * Sca|
|000017b0| 6c 65 29 3b 0d 0a 20 20 | 20 20 53 63 61 6c 65 20 |le);.. | Scale |
|000017c0| 3d 20 50 2e 44 65 66 61 | 75 6c 74 46 4f 56 20 2f |= P.Defa|ultFOV /|
|000017d0| 20 50 2e 44 65 73 69 72 | 65 64 46 4f 56 3b 0d 0a | P.Desir|edFOV;..|
|000017e0| 20 20 20 20 43 2e 44 72 | 61 77 54 65 78 74 28 22 | C.Dr|awText("|
|000017f0| 58 22 24 69 6e 74 28 53 | 63 61 6c 65 29 24 22 2e |X"$int(S|cale)$".|
|00001800| 22 24 69 6e 74 28 31 30 | 20 2a 20 53 63 61 6c 65 |"$int(10| * Scale|
|00001810| 20 2d 20 31 30 20 2a 20 | 69 6e 74 28 53 63 61 6c | - 10 * |int(Scal|
|00001820| 65 29 29 29 3b 0d 0a 7d | 0d 0a 00 |e)));..}|... |
+--------+-------------------------+-------------------------+--------+--------+